<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>分级诊疗签约平台</title>
    <div th:include="base-libs-easyui :: base-libs-easyui"></div>
    <script th:src="@{/plat/js/md5.js}"></script>
    <link rel="stylesheet" th:href="@{/plat/css/login.css}"/>
    <script th:inline="javascript">
        var domainKey = [[${domainKey}]];
        var info = [[${info}]];
        if (!StringUtils.isEmpty(info)) {
            $.QuickAlert.alertFail({
                content: info
                , callback: function () {
                    location = "/plat/login.html";
                }
            })
        }
    </script>
    <script>
        $(function () {
            initView();
        })

        function initView() {
            $.removeCookie(domainKey, {path: "/"});
        }

        function btnLoginHandler() {
            if ($(".form-control").QuickValidate()) {
                $("#hexPwd").val(hex_md5($("#pwd").val()));
                $("#formLogin").submit();
            }
        }

        function login() {
            $.QuickRemote.AjaxFiledFormSubmit("formLogin", function (result) {
                if (result["state"]) {
                    $.cookie(result["domainKey"], result["domainId"], {path: "/"});
                    location = "/plat/index.html";
                }
            });
        }
    </script>
</head>
<body style="overflow:auto">
<!-- 页面主体 start -->
<div class="page">
    <div class="logo-wrap">
        <h1 class="logo"></h1>
    </div>
    <div class="login-main">
        <div class="login-content" style="overflow:hidden">
            <div class="login-win">
                <form id="formLogin" method="post" action="login.service"
                      autocomplete="off">
                    <input type="hidden" id="targetType" name="targetType"
                           value="wanjiaB_SZ"> <input type="hidden" name="lt"
                                                      value="LT-5937-XvgmvRvWeouPmcCQJhQxMDuabOebkm"> <input
                        type="hidden" name="execution" value="e1s1"> <input
                        type="hidden" id="fb" name="fb" value=""> <input
                        type="hidden" name="_eventId" value="submit"> <input
                        type="hidden" id="picSessionKey" name="picSessionKey"
                        value="1498810439217"> <input type="hidden"
                                                      name="username"> <input type="hidden" name="password">
                    <div class="tab js_exchange_login_meth" id="js_typechange_tips"
                         style="background: url(&quot;/resources/images/pc/login/sz/er.png&quot;) no-repeat;"></div>
                    <div class="tab-page">
                        <div class="code-type js_login_main js_login_with_pwd"
                             style="display: block;">
                            <div class="choice">
                                <span class="code-choice active" name="css_normal_login">用户登录</span>
                            </div>
                            <div class="codes-login login-way" data-logintype="1"
                                 data-is-curr="1">
                                <div class="name-box">
                                    <!-- <span class="touxiang"></span> -->
                                    <input id="USERNAME" type="text" placeholder="用户名" name="USERNAME"
                                           style="padding: 10px 0px;height:26px;"
                                           class="form-control name"
                                           quick-config="label:'用户名', validateProxy:'notNull length', length: '40'"
                                           autocomplete="off"
                                    >
                                </div>
                                <div class="code-box">
                                    <!-- <span class="code"></span> -->
                                    <input id="pwd" type="password" style="padding: 10px 0px;height:26px;"
                                           class="form-control pword password"
                                           quick-config="label:'密码', validateProxy:'notNull length', length: '40'"
                                           placeholder="账户密码"
                                           autocomplete="off"
                                    >
                                    <input id="hexPwd" name="PASSWORD" style="display: none;">
                                </div>
                                <div id="pickCheckEl" class="verify-code" style="display: none">
                                    <span class="verify-img"></span> <input type="text"
                                                                            class="verify-input" placeholder="验证码"
                                                                            id="picCheck"
                                                                            name="picCheck" autocomplete="off"
                                                                            tabindex="3" maxlength="6">
                                    <!--验证码图片存放位置-->
                                    <!-- 		                           <span class="get-verifycode"><img id="randomImage" src="https://image.pinganwj.com/verification/code/num/hy/6/1498810439217/180"></span>
-->
                                </div>
                                <div class="remember" style="height: 19px;">
                                    <div class="checkbox" style="float: left">
                                        <!-- <span class="remember-check js_rembpws"></span> -->
                                        <input type="checkbox" style="width: 15px;height: 15px;"/> <span>记住用户名</span>
                                    </div>
                                    <!-- <div class="forget" style="float: right"><a href="/forgotPassword?service=https://myclinic.pinganwj.com/" onclick="buttonCollect('casB-login-register')" target="_blank">忘记密码</a></div>  -->
                                </div>
                                <!-- <p class="tip">温馨提示：医生账号第一次登录，通过动态密码登录或者忘记密码链接来设置登录密码</p> -->
                            </div>
                            <div class="dynamic-codes-login login-way" data-logintype="2"
                                 data-is-curr="0">
                                <div class="phone-box">
                                    <span class="touxiang"></span> <input id="userMobile"
                                                                          type="text" class="name" autocomplete="off"
                                                                          tabindex="1"
                                                                          placeholder="手机号" maxlength="11">
                                </div>
                                <div class="verify-container">
                                    <div class="verify-box">
                                        <span class="code"></span> <input type="text"
                                                                          class="verify-password" id="userMobileCode"
                                                                          autocomplete="off" tabindex="2"
                                                                          placeholder="短信验证码"
                                                                          maxlength="6"> <span class="get-code"
                                                                                               id="send-code">获取验证码</span>
                                    </div>
                                </div>
                            </div>
                            <a href="javascript:void(0);" class="login-btn"
                               onclick="btnLoginHandler();"
                               id="submitLogin" name="submitLogin" tabindex="4"
                               style="display: block; text-decoration: none;margin-top: 80px;">登录</a>
                            <!-- <div class="serviceNo"><div class="clear"><i></i><span>服务热线：</span><em>400-1028-120&nbsp;（09:00-18:00）</em></div></div>   -->
                        </div>
                        <div class="erweima-type js_login_with_scan" data-logintype="3"
                             data-is-curr="0" style="display: none;">
                            <div>
                                <div class="erweima" style="left: 117px; transition: 0.5s;">
                                    <!-- <img id="qrcodeImg" style="height: 180px; width: 180px;" src="/qrcode?act=login&amp;flag=0.2817413930404009"> -->

                                    <div id="qrCodeExpiredDiv" class="css_msg_err"
                                         style="display: none">
                                        <h6>二维码已失效</h6>
                                        <a id="qrCodeExpiredBtn" href="javascript:;"
                                           class="css_qrcode_refresh">请点击刷新</a>
                                    </div>
                                    <div id="loginPageExpiredDiv" class="css_msg_err"
                                         style="display: none">
                                        <h6>页面已失效</h6>
                                        <a id="loginPageExpiredBtn" href="javascript:;"
                                           class="css_qrcode_refresh">请点击刷新</a>
                                    </div>
                                </div>
                                <div class="phone" style="right: -168px; transition: 0.2s;"></div>
                            </div>
                        </div>
                        <p class="explain" style="display: none;">
                            打开<a href="https://www.pinganwj.com/appDownload"
                                 style="color: #36d2ff; text-decoration: none" target="_blank"
                                 class="version">万家医疗诊所版</a>扫一扫登录
                        </p>
                    </div>
                </form>
                <!-- <a href="#" class="collect" title="万家诊所" rel="sidebar">收藏到本地</a> -->
            </div>
        </div>
    </div>
    <div class="page-bottom">
        © 2016 WONDERS INFORMATION CO., LTD. ALL RIGHTS RESERVED.
        万达信息股份有限公司版权所有 <br> [沪ICP备05002296号] [沪公网安备31010602000718号]
        [工商营业执照备案]
    </div>
    <input type="hidden" id="recordNum" value="3"> <input
        type="hidden" id="hoverNum" value="0"> <input type="hidden"
                                                      id="checkedNum" value="0">
</div>
</body>
</html>